package com.ssy.lingxi.purchase.model.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author wyx
 * @version 2.0.0
 * @date 2021-10-30
 */
@Setter
@Getter
public class RequisitionInnerStatusReq {
    /**
     * 请购单Id
     */
    @NotNull(message = "请购单Id不能为空")
    private Long id;

    /**
     * 取消/中止原因
     */
    @NotEmpty(message = "原因不能为空")
    @Size(max = 120, message = "原因最大100个字符")
    private String reason;
}
